package com.feng.community.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class LoginController {
    @GetMapping({"/","index"})
    public String toIndexPage(){
        return "index";
    }

    @GetMapping("/login")
    public String toLoginPage(){
        return "login";
    }
}
